package cn.gistone.visualeditor.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Document(collection="visual_screen")
@ApiModel
public class VisualScreen {
        @Id
        @ApiModelProperty("屏幕id")
        private String id;
//        @ApiModelProperty("屏幕名字")
//        private String screenName;
        @ApiModelProperty("用户id")
        private Integer userId;
        @ApiModelProperty("屏幕基本信息")
        private Object basicInfo;
        @ApiModelProperty("屏幕数据信息")
        private List<Object> dataInfo;
        @ApiModelProperty("创建时间")
        private LocalDateTime createTime;
        @ApiModelProperty("修改时间")
        private LocalDateTime updateTime;
}
